package com.example.demo.anothor;

import com.example.demo.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserInfoConditionMapper {
    Integer insertByCondition(UserInfo userInfo);

    Integer insertByCondition2(UserInfo userInfo);

    List<UserInfo> selectByCondition(UserInfo userInfo);
    List<UserInfo> selectByCondition2(Integer age, Integer gender);

    Integer updateByCondition(UserInfo userInfo);

    //批量删除
    Integer batchDelete(List<Integer> ids);

}
